using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Web.Script.Serialization;
using System.Xml.Serialization;

namespace DJY.Domain.ViewModel
{
    public class WorkFlowInstanceNode
    {
        /// <summary>
        /// 记录id
        /// </summary>
        [ScriptIgnore]
        [XmlIgnore]
        [JsonIgnore]
    	public long ID
        {
            get;
            set;
        }

        /// <summary>
        /// 记录id
        /// </summary>
    	public string id
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 实例ID
        /// </summary>
        public string instanceId
        {
            get;
            set;
        }
        
        /// <summary>
        /// 上一个节点
        /// </summary>
    	public string fromNode
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 上一个节点
        /// </summary>
    	public string fromNodeName
        {
            get;
            set;
        }

        /// <summary>
        /// 当前工作节点
        /// </summary>
        public string nodeId
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 节点类型
        /// </summary>
    	public int nodeType
        {
            get;
            set;
        }

        /// <summary>
        /// 当前工作节点
        /// </summary>
        public string nodeName
        {
            get;
            set;
        }

        /// <summary>
        /// 结束事件
        /// </summary>
        public string after
        {
            get;
            set;
        }

        /// <summary>
        /// 当前节点模型类
        /// </summary>
        public string modelKey
        {
            get;
            set;
        }

        /// <summary>
        /// 操作人
        /// </summary>
        public string createUser
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 操作时间
        /// </summary>
    	public string createTime
    	{
    		get;
    		set;
    	}

        /// <summary>
        /// 状态
        /// </summary>
    	public string remark
        {
            get;
            set;
        }

        /// <summary>
        /// 属性
        /// </summary>
        public List<WorkFlowNodeProperty> properties{
            get;
            set;
        }
    }
}